package com.ycg.store.service;

import com.ycg.store.common.Result;
import com.ycg.store.pojo.Warehouse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author lenovo
* @description 针对表【warehouse(仓库表)】的数据库操作Service
* @createDate 2024-05-24 20:04:33
*/
public interface WarehouseService extends IService<Warehouse> {

    /**
     * 根据租户id获取仓库
     * @param id 租户id
     * @return List<Warehouse>
     */
    Result<List<Warehouse>> getByTenantId(String id);


}
